package pattern9.draw_people;

/**
 * 构建小人
 * @author wdl
 */
public class BuildPerson {
    public static void main(String[] args) {
        BasePersonBuilder personBuilder=new PersonThinBuilder();
        PersonDirector personDirector=new PersonDirector(personBuilder);
        personDirector.drawPerson();

        BasePersonBuilder personBuilder1=new PersonFatBuilder();
        PersonDirector personDirector1=new PersonDirector(personBuilder1);
        personDirector1.drawPerson();
    }
}
